//
//  ActivityDetailWebView.m
//  Lmm_IOS
//
//  Created by 张哲炜 on 2018/9/26.
//  Copyright © 2018年 lmm. All rights reserved.
//

#import "ActivityDetailWebView.h"

@implementation ActivityDetailWebView

- (void) initView:(ActivityModel *)activityModel {
    
    self.backgroundColor = [UIColor whiteColor];
    
    NSString *path = [[NSBundle mainBundle] bundlePath];
    NSURL *baseURL = [NSURL fileURLWithPath:path];
    
    [self loadHTMLString:activityModel.goods.detail baseURL:baseURL];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
